import { Trip, User, Activity } from '@prisma/client';

export interface TripWithDetails extends Omit<Trip, 'savedBy'> {
  activities: Activity[];
  savedBy: User[];
  _count: {
    activities: number;
    savedBy: number;
    comments: number;
  };
  user?: {
    id: string;
    name: string | null;
    username: string;
  };
  isSaved?: boolean;
} 